#!/bin/sh
rm Bdev.Net.Dns.dll
rm Nixtest/Bdev.Net.Dns.dll
rm Nixtest/test.exe
dmcs -platform:anycpu -target:library -out:Bdev.Net.Dns.dll *.cs Records/*.cs
cp Bdev.Net.Dns.dll Nixtest/
cd Nixtest
dmcs -platform:anycpu -target:exe -out:test.exe -r:Bdev.Net.Dns.dll Program.cs